import {getRequest} from "../net/HttpRequest";
import {jsonRequest} from "../net/HttpRequest";
import {formRequest} from "../net/HttpRequest";
import {formHeaderRequest} from "../net/HttpRequest";
import * as Url from "../net/Url";

/**
 * 登录
 */
export const loginReuqest = (paramObj,proxy) => {
    return jsonRequest(Url.LOGIN_URL, paramObj,proxy);
}

export const shareRegisterReuqest = (paramObj,proxy) => {
    return getRequest(Url.REGISTER_URL, paramObj,proxy);
}

export const testReuqest = (paramObj,proxy) => {
    return getRequest(Url.TEST, paramObj,proxy);
}



